package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: EventsMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-27
 * @Version: 1.0
 * Table: pear_events
 * Comment:
 * 日程表
 */
public interface EventsMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(EventsExample example);

    int insert(EventsWithBLOBs record);

    int insertSelective(EventsWithBLOBs record);

    List<EventsWithBLOBs> selectByExampleWithBLOBs(EventsExample example);

    List<Events> selectByExample(EventsExample example);

    int countByExample(EventsExample example);

    Events selectByPrimaryKey(Integer id);

    EventsWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    Events selectById(Integer id);

    EventsWithBLOBs selectByIdWithBLOBs(Integer id);

    Events selectByCode(String code);

    EventsWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") EventsWithBLOBs record, @Param("example") EventsExample example);

    int updateByPrimaryKeySelective(EventsWithBLOBs record);

    int updateByIdSelective(EventsWithBLOBs record);

    int updateByCodeSelective(EventsWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(EventsWithBLOBs record);

    int updateByPrimaryKey(Events record);

    int updateById(Events record);

    int updateByIdWithBLOBs(EventsWithBLOBs record);

    List<EventsForEvents> eventsByExample(EventsForEventsExample example);

    int countEventsByExample(EventsForEventsExample example);

    List<EventsForEventsMember> eventsMemberByExample(EventsForEventsMemberExample example);

    int countEventsMemberByExample(EventsForEventsMemberExample example);

}
